package com.dubbo.consumer.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.dubbo.api.service.Notify;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class NotifyImpl implements Notify {

    Logger logger = LoggerFactory.getLogger(NotifyImpl.class);

    @Override
    public void onreturn(Object res, Object... args) {
        logger.info("===========返回参数:{}===========", res);

        for (Object o : args) {
            logger.info("===========调用方法参数:{}===========", o);
        }


    }

    @Override
    public void onthrow(Throwable ex, Object... args) {

    }
}
